package com.sensetime.bi.senselink.server.rtsptest;

public enum RTSPRequestType {

    SETUP(1, "SETUP"),
    DESCRIBE(2, "DESCRIBE"),
    PLAY(3, "PLAY"),
    PAUSE(4, "PAUSE"),
    TEARDOWN(5, "TEARDOWN"),
    OPTIONS(6, "OPTIONS");

    private final int code;
    private final String type;

    RTSPRequestType(int code, String type) {
        this.code = code;
        this.type = type;
    }

    public int getCode() {
        return code;
    }

    public String getType() {
        return type;
    }
}
